import request from '@/utils/request'
let api = "http://162.14.178.238:3000";
// let api = "http://127.0.0.1:3000";

// 获取版本增删改查配置
const getBbkData = (data) => {
    return request({
        url: api + '/xqbbkApi/getData',
        method: 'post',
        data,
    })
}

const getRule = () => {
    return request({
        url: api + '/xqbbkApi/getRule',
        method: 'get',
    })
}

const isSb = (data)=>{
    return request({
        url: api + '/xqbbkApi/isSb',
        method: 'post',
        data:data
    })
}

const onSave = (data)=>{
    return request({
        url: api + '/xqbbkApi/save',
        method: 'post',
        data:data
    })
}

const onDelete = (data)=>{
    return request({
        url: api + '/xqbbkApi/delete',
        method: 'post',
        data:data
    })
}
export { getBbkData ,getRule,isSb,onSave,onDelete} 